package com.youlai.boot.gym.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.gym.model.entity.ClassSchedules;
import com.youlai.boot.gym.model.form.ClassSchedulesForm;

/**
 * 课程安排对象转换器
 *
 * @author hxc
 * @since 2025-06-01 15:47
 */
@Mapper(componentModel = "spring")
public interface ClassSchedulesConverter{

    ClassSchedulesForm toForm(ClassSchedules entity);

    ClassSchedules toEntity(ClassSchedulesForm formData);
}